package com.hmall.user.service;

import com.hmall.user.pojo.Address;

import java.util.List;

public interface AddressService {

    List<Address> queryByUserId(Long userId);

    Address getById(Long id);

    void addAddress(Address address);

    void deleteAddress(Long id);

    void updateAddress(Address address);
}
